package com.ckm.service;

import com.ckm.entity.Teacher;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TeacherService {

    String login(Teacher teacher);

    Teacher getTeacher(String token);

    void addTeacher(List<Teacher> teacherList);

    void deleteTeacher(Integer id);

    void updateTeacher(Teacher teacher);

    PageInfo<Teacher> getTeacherPage(Teacher teacher,int pageNum,int pageSize);

    List<Teacher> findTeacher(Teacher teacher);
}
